'use strict';

/**
 * Created by zhu on 14/12/26.
 */
angular.module('blog')
    .factory('BlogDetailService', ['$resource', 'RootPathConstant', function ($resource, RootPathConstant) {
        return $resource(RootPathConstant + '/blog/:blogId', {},
            {
                query: {method: 'GET', isArray: false},
                remove: {method: 'DELETE'},
                change: {method: 'PUT'}
            }
        );
    }]);
